package com.lifeonwalden.fincalc.finance.bean;

import com.lifeonwalden.fincalc.bean.DateValuePair;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

public class ReturnRateInfo implements Serializable {
    private static final long serialVersionUID = -1298113522748455559L;

    /* 区间收益率 */
    private BigDecimal rate;

    /* 区间年化收益率 */
    private BigDecimal annualRate;

    /* 区间收益率曲线 */
    private List<DateValuePair> rateSeries;

    /* 区间年化收益率曲线 */
    private List<DateValuePair> annualRateSeries;

    public BigDecimal getRate() {
        return rate;
    }

    public ReturnRateInfo setRate(BigDecimal rate) {
        this.rate = rate;
        return this;
    }

    public BigDecimal getAnnualRate() {
        return annualRate;
    }

    public ReturnRateInfo setAnnualRate(BigDecimal annualRate) {
        this.annualRate = annualRate;
        return this;
    }

    public List<DateValuePair> getRateSeries() {
        return rateSeries;
    }

    public ReturnRateInfo setRateSeries(List<DateValuePair> rateSeries) {
        this.rateSeries = rateSeries;
        return this;
    }

    public List<DateValuePair> getAnnualRateSeries() {
        return annualRateSeries;
    }

    public ReturnRateInfo setAnnualRateSeries(List<DateValuePair> annualRateSeries) {
        this.annualRateSeries = annualRateSeries;
        return this;
    }
}
